package com.baosight.risk.service.jlta.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * Table: T_JLTA_TEAM_USER
 */
@Data
@Table(name = "T_JLTA_TEAM_USER")
public class JltaTeamUser implements Serializable {
    /**
     * 团队ID
     * <p>
     * Table:     T_JLTA_TEAM_USER
     * Column:    ID
     * Nullable:  false
     */
    @Id
    @Column(name = "ID")
    private String id;

    /**
     * 主键
     * <p>
     * Table:     T_JLTA_TEAM_USER
     * Column:    TEAM_ID
     * Nullable:  false
     */
    @Column(name = "TEAM_ID")
    private String teamId;

    /**
     * 团队名称
     * <p>
     * Table:     T_JLTA_TEAM_USER
     * Column:    TEAM_NAME
     * Nullable:  true
     */
    @Column(name = "TEAM_NAME")
    private String teamName;

    /**
     * 用户ID
     * <p>
     * Table:     T_JLTA_TEAM_USER
     * Column:    USER_ID
     * Nullable:  false
     */
    @Column(name = "USER_ID")
    private String userId;

    /**
     * 用户编码
     * <p>
     * Table:     T_JLTA_TEAM_USER
     * Column:    USER_CODE
     * Nullable:  true
     */
    @Column(name = "USER_CODE")
    private String userCode;

    /**
     * 用户名称
     * <p>
     * Table:     T_JLTA_TEAM_USER
     * Column:    USER_NAME
     * Nullable:  true
     */
    @Column(name = "USER_NAME")
    private String userName;

    /**
     * 组织ID
     * <p>
     * Table:     T_JLTA_TEAM_USER
     * Column:    COMP_ID
     * Nullable:  false
     */
    @Column(name = "COMP_ID")
    private String compId;

    /**
     * 组织名称
     * <p>
     * Table:     T_JLTA_TEAM_USER
     * Column:    COMP_CODE
     * Nullable:  true
     */
    @Column(name = "COMP_CODE")
    private String compCode;

    /**
     * 组织名称
     * <p>
     * Table:     T_JLTA_TEAM_USER
     * Column:    COMP_NAME
     * Nullable:  true
     */
    @Column(name = "COMP_NAME")
    private String compName;

    /**
     * 状态(0启用1禁用)
     * <p>
     * Table:     T_JLTA_TEAM_USER
     * Column:    STATUS
     * Nullable:  true
     */
    @Column(name = "STATUS")
    private String status;

    /**
     * 创建人
     * <p>
     * Table:     T_JLTA_TEAM_USER
     * Column:    CREATE_BY
     * Nullable:  true
     */
    @Column(name = "CREATE_BY")
    private String createBy;

    /**
     * 创建日期
     * <p>
     * Table:     T_JLTA_TEAM_USER
     * Column:    CREATE_TIME
     * Nullable:  true
     */
    @Column(name = "CREATE_TIME")
    private Date createTime;

    /**
     * 修改人
     * <p>
     * Table:     T_JLTA_TEAM_USER
     * Column:    UPDATE_BY
     * Nullable:  true
     */
    @Column(name = "UPDATE_BY")
    private String updateBy;

    /**
     * 修改日期
     * <p>
     * Table:     T_JLTA_TEAM_USER
     * Column:    UPDATE_TIME
     * Nullable:  true
     */
    @Column(name = "UPDATE_TIME")
    private Date updateTime;

    /**
     * 扩展属性1
     * <p>
     * Table:     T_JLTA_TEAM_USER
     * Column:    EXT1
     * Nullable:  true
     * 0,普通群员,1，管理员，2，群主
     */

    @Column(name = "EXT1")
    private String ext1;

    /**
     * 扩展属性2
     * <p>
     * Table:     T_JLTA_TEAM_USER
     * Column:    EXT2
     * Nullable:  true
     */
    @Column(name = "EXT2")
    private String ext2;

    /**
     * 扩展属性3
     * <p>
     * Table:     T_JLTA_TEAM_USER
     * Column:    EXT3
     * Nullable:  true
     */
    @Column(name = "EXT3")
    private String ext3;

    /**
     * 扩展属性4
     * <p>
     * Table:     T_JLTA_TEAM_USER
     * Column:    EXT4
     * Nullable:  true
     */
    @Column(name = "EXT4")
    private String ext4;

    /**
     * 扩展属性5
     * <p>
     * Table:     T_JLTA_TEAM_USER
     * Column:    EXT5
     * Nullable:  true
     */
    @Column(name = "EXT5")
    private String ext5;


    /**
     * 角色
     * <p>
     * Table:     T_JLTA_TEAM_USER
     * Column:    ROLE
     * Nullable:  true
     */
    @Column(name = "ROLE")
    private String role;
    /**
     * 角色名称
     * <p>
     * Table:     T_JLTA_TEAM_USER
     * Column:    ROLE_NAME
     * Nullable:  true
     */
    @Column(name = "ROLE_NAME")
    private String roleName;


    private static final long serialVersionUID = 1L;
}